package org.zuoye.bean;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Zuoye entity. @author MyEclipse Persistence Tools
 */

public class Zuoye implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userName;
	private String zuoyeName;
	private String zuoyePingyu;
	private String zuoyeUrl;
	private Timestamp zuoyeUpdate;

	// Constructors

	/** default constructor */
	public Zuoye() {
	}

	/** minimal constructor */
	public Zuoye(String userName, String zuoyeName, String zuoyeUrl,
			Timestamp zuoyeUpdate) {
		this.userName = userName;
		this.zuoyeName = zuoyeName;
		this.zuoyeUrl = zuoyeUrl;
		this.zuoyeUpdate = zuoyeUpdate;
	}

	/** full constructor */
	public Zuoye(String userName, String zuoyeName, String zuoyePingyu,
			String zuoyeUrl, Timestamp zuoyeUpdate) {
		this.userName = userName;
		this.zuoyeName = zuoyeName;
		this.zuoyePingyu = zuoyePingyu;
		this.zuoyeUrl = zuoyeUrl;
		this.zuoyeUpdate = zuoyeUpdate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getZuoyeName() {
		return this.zuoyeName;
	}

	public void setZuoyeName(String zuoyeName) {
		this.zuoyeName = zuoyeName;
	}

	public String getZuoyePingyu() {
		return this.zuoyePingyu;
	}

	public void setZuoyePingyu(String zuoyePingyu) {
		this.zuoyePingyu = zuoyePingyu;
	}

	public String getZuoyeUrl() {
		return this.zuoyeUrl;
	}

	public void setZuoyeUrl(String zuoyeUrl) {
		this.zuoyeUrl = zuoyeUrl;
	}

	public Timestamp getZuoyeUpdate() { 
		return this.zuoyeUpdate;
	}

	public void setZuoyeUpdate(Timestamp zuoyeUpdate) {
		this.zuoyeUpdate = zuoyeUpdate;
	}

}